//package com.example.demo.controller;
//
//import com.example.demo.common.Result;
//import com.example.demo.entity.User;
//import com.example.demo.service.UserService;
//import jakarta.annotation.Resource;
//import org.springframework.web.bind.annotation.*;
//
//import java.util.List;
//
//@RestController
//@RequestMapping("/user")
//public class UserController {
//
//    @Resource
//    private UserService userServie;
//    @GetMapping("/start")
//    public Result start(){
//        return Result.success("你好！！！！！！");
//    }
//    @GetMapping("/getUser")
//    public Result getUser(){
//        List<User> list = userServie.list();
//        return Result.success(list);
//    }
//
//}
